package com.hospital.pet.love.lovepethospital.dto.register;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author RoselleShaw
 * @create 2024-04-26 15:27
 */
@Data
@Schema(description = "根据日期筛选")
public class GetRegisterDto {

    @Schema(description = "开始时间", requiredMode = Schema.RequiredMode.AUTO)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime start;
    @Schema(description = "结束时间", requiredMode = Schema.RequiredMode.AUTO)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime end;
    @Schema(description = "宠物名称", requiredMode = Schema.RequiredMode.AUTO)
    private String petName;
    @Schema(description = "医生名称", requiredMode = Schema.RequiredMode.AUTO)
    private String doctorName;
    @Schema(description = "挂号状态", requiredMode = Schema.RequiredMode.AUTO)
    private Integer state;

}
